home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / riap140x.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  25.6 KB  |  899 lines

  1. *%
  2. *%  Core GPD file for Ricoh PCL5e printer
  3. *%    FileName: RIAP140X.GPD
  4. *%    Created:  1999/03/24
  5. *%    Modified: 2001/12/06
  6. *%
  7. *%    Copyright (c) 1999 - 2001 Ricoh Co., Ltd.
  8. *%    All rights reserved.
  9. *%
  10. *GPDFileVersion: "1.202"
  11. *Include: "TTFSUB.GPD"
  12. *Include: "RIAF5MAC.GPD"
  13. *MasterUnits: PAIR(1200, 1200)
  14. *ResourceDLL: "RIAFRES.DLL"
  15. *PrinterType: PAGE
  16. *MaxCopies: 999
  17. *rcInstalledOptionNameID: 330       *%%% "Installed"
  18. *rcNotInstalledOptionNameID: 329    *%%% "Not Installed"
  19.  
  20. *%======== Memory ========
  21. *Feature: Memory
  22. {
  23.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  24.     *DefaultOption: 8192KB
  25.     *Option: 8192KB
  26.     {
  27.         *Name: "8MB"
  28.         *MemoryConfigKB: PAIR(8192, 6750)
  29.     }
  30. }
  31.  
  32. *%======== Hard Disk (custom feature) ========
  33. *Feature: HardDisk
  34. {
  35.     *rcNameID: 380          *%%% "Hard Disk"
  36.     *FeatureType: PRINTER_PROPERTY
  37.     *DefaultOption: NotInstalled
  38.     *Option: NotInstalled
  39.     {
  40.         *rcNameID: 329
  41.         *DisabledFeatures: LIST(Collate)
  42.     }
  43.     *Option: Installed
  44.     {
  45.         *rcNameID: 330
  46.     }
  47. }
  48.  
  49. *%======== Orientation ========
  50. *Feature: Orientation
  51. {
  52.     *rcNameID: =ORIENTATION_DISPLAY
  53.     *DefaultOption: PORTRAIT
  54.     *Option: PORTRAIT
  55.     {
  56.         *rcNameID: =PORTRAIT_DISPLAY
  57.     }
  58.     *Option: LANDSCAPE_CC90
  59.     {
  60.         *rcNameID: =LANDSCAPE_DISPLAY
  61.     }
  62. }
  63.  
  64. *%======== InputBin ========
  65. *Macros: CmdStrings_InputBin
  66. {
  67.     PRECMD_INPUTBIN_PORT: "<1B>&l0O"
  68.     PRECMD_INPUTBIN_LAND: "<1B>&l1O"
  69. }
  70. *Feature: InputBin
  71. {
  72.     *rcNameID: =PAPER_SOURCE_DISPLAY
  73.     *DefaultOption: AUTO
  74.     *Option: AUTO
  75.     {
  76.         *rcNameID: 267          *%%% "Auto Select by Printer"
  77.         *switch: Orientation
  78.         {
  79.             *case: PORTRAIT
  80.             {
  81.                 *Command: CmdSelect
  82.                 {
  83.                     *Order: DOC_SETUP.30
  84.                     *NoPageEject?: TRUE
  85.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l7H"
  86.                 }
  87.             }
  88.             *case: LANDSCAPE_CC90
  89.             {
  90.                 *Command: CmdSelect
  91.                 {
  92.                     *Order: DOC_SETUP.30
  93.                     *NoPageEject?: TRUE
  94.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l7H"
  95.                 }
  96.             }
  97.         }
  98.     }
  99.     *Option: BypassTray
  100.     {
  101.         *rcNameID: 272          *%%% "Bypass Tray"
  102.         *OptionID: 4            *%%% DMBIN_MANUAL
  103.         *switch: Orientation
  104.         {
  105.             *case: PORTRAIT
  106.             {
  107.                 *Command: CmdSelect
  108.                 {
  109.                     *Order: DOC_SETUP.30
  110.                     *NoPageEject?: TRUE
  111.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l2H"
  112.                 }
  113.             }
  114.             *case: LANDSCAPE_CC90
  115.             {
  116.                 *Command: CmdSelect
  117.                 {
  118.                     *Order: DOC_SETUP.30
  119.                     *NoPageEject?: TRUE
  120.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l2H"
  121.                 }
  122.             }
  123.         }
  124.     }
  125.     *Option: Tray1
  126.     {
  127.         *rcNameID: 268          *%%% "Tray 1"
  128.         *OptionID: 1            *%%% DMBIN_UPPER
  129.         *switch: Orientation
  130.         {
  131.             *case: PORTRAIT
  132.             {
  133.                 *Command: CmdSelect
  134.                 {
  135.                     *Order: DOC_SETUP.30
  136.                     *NoPageEject?: TRUE
  137.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l1H"
  138.                 }
  139.             }
  140.             *case: LANDSCAPE_CC90
  141.             {
  142.                 *Command: CmdSelect
  143.                 {
  144.                     *Order: DOC_SETUP.30
  145.                     *NoPageEject?: TRUE
  146.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l1H"
  147.                 }
  148.             }
  149.         }
  150.     }
  151.     *Option: Tray2
  152.     {
  153.         *rcNameID: 269          *%%% "Tray 2"
  154.         *OptionID: 3            *%%% DMBIN_MIDDLE
  155.         *Installable?: TRUE
  156.         *rcInstallableFeatureNameID: 269
  157.         *switch: Orientation
  158.         {
  159.             *case: PORTRAIT
  160.             {
  161.                 *Command: CmdSelect
  162.                 {
  163.                     *Order: DOC_SETUP.30
  164.                     *NoPageEject?: TRUE
  165.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l5H"
  166.                 }
  167.             }
  168.             *case: LANDSCAPE_CC90
  169.             {
  170.                 *Command: CmdSelect
  171.                 {
  172.                     *Order: DOC_SETUP.30
  173.                     *NoPageEject?: TRUE
  174.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l5H"
  175.                 }
  176.             }
  177.         }
  178.     }
  179. }
  180.  
  181. *%======== Resolution ========
  182. *Feature: Resolution
  183. {
  184.     *rcNameID: =RESOLUTION_DISPLAY
  185.     *DefaultOption: 600dpi
  186.     *Option: 600dpi
  187.     {
  188.         *rcNameID: 395          *%%% "600 dpi"
  189.         *DPI: PAIR(600, 600)
  190.         *TextDPI: PAIR(600, 600)
  191.         *MinStripBlankPixels: 32
  192.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  193.         *SpotDiameter: 100
  194.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  195.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  196.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  197.         *Command: CmdSelect
  198.         {
  199.             *Order: JOB_SETUP.90
  200.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t600R"
  201.         }
  202.     }
  203.     *Option: 300dpi
  204.     {
  205.         *rcNameID: 396          *%%% "300 dpi"
  206.         *DPI: PAIR(300, 300)
  207.         *TextDPI: PAIR(300, 300)
  208.         *MinStripBlankPixels: 32
  209.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  210.         *SpotDiameter: 100
  211.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  212.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  213.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  214.         *Command: CmdSelect
  215.         {
  216.             *Order: JOB_SETUP.90
  217.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t300R"
  218.         }
  219.     }
  220. }
  221.  
  222. *%======== PaperSize ========
  223. *Feature: PaperSize
  224. {
  225.     *rcNameID: =PAPER_SIZE_DISPLAY
  226.     *DefaultOption: LETTER
  227.     *Option: LETTER
  228.     {
  229.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  230.         *switch: Orientation
  231.         {
  232.             *case: PORTRAIT
  233.             {
  234.                 *PrintableArea: PAIR(9600, 12648)
  235.                 *PrintableOrigin: PAIR(300, 300)
  236.                 *CursorOrigin: PAIR(300, 180)
  237.                 *Command: CmdSelect
  238.                 {
  239.                     *Order: DOC_SETUP.40
  240.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  241.                 }
  242.             }
  243.             *case: LANDSCAPE_CC90
  244.             {
  245.                 *PrintableArea: PAIR(9760, 12688)
  246.                 *PrintableOrigin: PAIR(200, 272)
  247.                 *CursorOrigin: PAIR(200, 12960)
  248.                 *Command: CmdSelect
  249.                 {
  250.                     *Order: DOC_SETUP.40
  251.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  252.                 }
  253.             }
  254.         }
  255.     }
  256.     *Option: LEGAL
  257.     {
  258.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  259.         *switch: Orientation
  260.         {
  261.             *case: PORTRAIT
  262.             {
  263.                 *PrintableArea: PAIR(9600, 16248)
  264.                 *PrintableOrigin: PAIR(300, 300)
  265.                 *CursorOrigin: PAIR(300, 180)
  266.                 *Command: CmdSelect
  267.                 {
  268.                     *Order: DOC_SETUP.40
  269.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  270.                 }
  271.             }
  272.             *case: LANDSCAPE_CC90
  273.             {
  274.                 *PrintableArea: PAIR(9760, 16284)
  275.                 *PrintableOrigin: PAIR(200, 276)
  276.                 *CursorOrigin: PAIR(200, 16560)
  277.                 *Command: CmdSelect
  278.                 {
  279.                     *Order: DOC_SETUP.40
  280.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  281.                 }
  282.             }
  283.         }
  284.     }
  285.     *Option: EXECUTIVE
  286.     {
  287.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  288.         *switch: Orientation
  289.         {
  290.             *case: PORTRAIT
  291.             {
  292.                 *PrintableArea: PAIR(8100, 12048)
  293.                 *PrintableOrigin: PAIR(300, 300)
  294.                 *CursorOrigin: PAIR(300, 180)
  295.                 *Command: CmdSelect
  296.                 {
  297.                     *Order: DOC_SETUP.40
  298.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  299.                 }
  300.             }
  301.             *case: LANDSCAPE_CC90
  302.             {
  303.                 *PrintableArea: PAIR(8220, 12080)
  304.                 *PrintableOrigin: PAIR(240, 280)
  305.                 *CursorOrigin: PAIR(200, 12360)
  306.                 *Command: CmdSelect
  307.                 {
  308.                     *Order: DOC_SETUP.40
  309.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  310.                 }
  311.             }
  312.         }
  313.     }
  314.     *Option: STATEMENT
  315.     {
  316.         *rcNameID: 394          *%%% "5.5x8.5"
  317.         *switch: Orientation
  318.         {
  319.             *case: PORTRAIT
  320.             {
  321.                 *PrintableArea: PAIR(6000, 9600)
  322. *%                *PrintableOrigin: PAIR(300, 300)
  323.                 *PrintableOrigin: PAIR(300, 240)
  324.                 *CursorOrigin: PAIR(300, 180)
  325.                 *Command: CmdSelect
  326.                 {
  327.                     *Order: DOC_SETUP.40
  328.                     *Cmd: "<1B>&l7a8c1E<1B>*p0x0Y<1B>*c0t3618x5778Y"
  329.                 }
  330.             }
  331.             *case: LANDSCAPE_CC90
  332.             {
  333.                 *PrintableArea: PAIR(6000, 9600)
  334. *%                *PrintableOrigin: PAIR(300, 300)
  335. *%                *CursorOrigin: PAIR(200, 9900)
  336.                 *PrintableOrigin: PAIR(300, 400)
  337.                 *CursorOrigin: PAIR(200, 10090)
  338.                 *Command: CmdSelect
  339.                 {
  340.                     *Order: DOC_SETUP.40
  341.                     *Cmd: "<1B>&l7a8c1E<1B>*p0x0Y<1B>*c0t5778x3618Y"
  342.                 }
  343.             }
  344.         }
  345.     }
  346.     *Option: A4
  347.     {
  348.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  349.         *switch: Orientation
  350.         {
  351.             *case: PORTRAIT
  352.             {
  353.                 *PrintableArea: PAIR(9292, 13476)
  354.                 *PrintableOrigin: PAIR(300, 300)
  355.                 *CursorOrigin: PAIR(300, 180)
  356.                 *Command: CmdSelect
  357.                 {
  358.                     *Order: DOC_SETUP.40
  359.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  360.                 }
  361.             }
  362.             *case: LANDSCAPE_CC90
  363.             {
  364.                 *PrintableArea: PAIR(9464, 13516)
  365.                 *PrintableOrigin: PAIR(220, 272)
  366.                 *CursorOrigin: PAIR(200, 13788)
  367.                 *Command: CmdSelect
  368.                 {
  369.                     *Order: DOC_SETUP.40
  370.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  371.                 }
  372.             }
  373.         }
  374.     }
  375.     *Option: A5
  376.     {
  377.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  378.         *switch: Orientation
  379.         {
  380.             *case: PORTRAIT
  381.             {
  382.                 *PrintableArea: PAIR(6416, 9420)
  383. *%                *PrintableOrigin: PAIR(300, 300)
  384.                 *PrintableOrigin: PAIR(300, 220)
  385.                 *CursorOrigin: PAIR(300, 180)
  386.                 *Command: CmdSelect
  387.                 {
  388.                     *Order: DOC_SETUP.40
  389.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3868x5670Y"
  390.                 }
  391.             }
  392.             *case: LANDSCAPE_CC90
  393.             {
  394.                 *PrintableArea: PAIR(6416, 9420)
  395. *%                *PrintableOrigin: PAIR(280, 204)
  396. *%                *CursorOrigin: PAIR(200, 9624)
  397.                 *PrintableOrigin: PAIR(280, 360)
  398.                 *CursorOrigin: PAIR(200, 9800)
  399.                 *Command: CmdSelect
  400.                 {
  401.                     *Order: DOC_SETUP.40
  402.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5670x3868Y"
  403.                 }
  404.             }
  405.         }
  406.     }
  407.     *Option: B5
  408.     {
  409.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  410.         *switch: Orientation
  411.         {
  412.             *case: PORTRAIT
  413.             {
  414.                 *PrintableArea: PAIR(8004, 11604)
  415.                 *PrintableOrigin: PAIR(300, 300)
  416.                 *CursorOrigin: PAIR(300, 180)
  417.                 *Command: CmdSelect
  418.                 {
  419.                     *Order: DOC_SETUP.40
  420.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  421.                 }
  422.             }
  423.             *case: LANDSCAPE_CC90
  424.             {
  425.                 *PrintableArea: PAIR(8144, 11664)
  426.                 *PrintableOrigin: PAIR(220, 240)
  427.                 *CursorOrigin: PAIR(200, 11904)
  428.                 *Command: CmdSelect
  429.                 {
  430.                     *Order: DOC_SETUP.40
  431.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  432.                 }
  433.             }
  434.         }
  435.     }
  436.     *Option: ENV_10
  437.     {
  438.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  439.         *switch: Orientation
  440.         {
  441.             *case: PORTRAIT
  442.             {
  443.                 *PrintableArea: PAIR(4296, 10800)
  444.                 *PrintableOrigin: PAIR(300, 300)
  445.                 *CursorOrigin: PAIR(300, 160)
  446.                 *Command: CmdSelect
  447.                 {
  448.                     *Order: DOC_SETUP.40
  449.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
  450.                 }
  451.             }
  452.             *case: LANDSCAPE_CC90
  453.             {
  454.                 *PrintableArea: PAIR(4356, 10800)
  455.                 *PrintableOrigin: PAIR(300, 300)
  456.                 *CursorOrigin: PAIR(200, 11100)
  457.                 *Command: CmdSelect
  458.                 {
  459.                     *Order: DOC_SETUP.40
  460.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  461.                 }
  462.             }
  463.         }
  464.     }
  465.     *Option: ENV_DL
  466.     {
  467.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  468.         *switch: Orientation
  469.         {
  470.             *case: PORTRAIT
  471.             {
  472.                 *PrintableArea: PAIR(4596, 9792)
  473.                 *PrintableOrigin: PAIR(300, 300)
  474.                 *CursorOrigin: PAIR(300, 160)
  475.                 *Command: CmdSelect
  476.                 {
  477.                     *Order: DOC_SETUP.40
  478.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
  479.                 }
  480.             }
  481.             *case: LANDSCAPE_CC90
  482.             {
  483.                 *PrintableArea: PAIR(4596, 9792)
  484.                 *PrintableOrigin: PAIR(300, 300)
  485.                 *CursorOrigin: PAIR(200, 10092)
  486.                 *Command: CmdSelect
  487.                 {
  488.                     *Order: DOC_SETUP.40
  489.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  490.                 }
  491.             }
  492.         }
  493.     }
  494.     *Option: ENV_MONARCH
  495.     {
  496.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  497.         *switch: Orientation
  498.         {
  499.             *case: PORTRAIT
  500.             {
  501.                 *PrintableArea: PAIR(3996, 8400)
  502.                 *PrintableOrigin: PAIR(300, 300)
  503.                 *CursorOrigin: PAIR(300, 200)
  504.                 *Command: CmdSelect
  505.                 {
  506.                     *Order: DOC_SETUP.40
  507.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
  508.                 }
  509.             }
  510.             *case: LANDSCAPE_CC90
  511.             {
  512.                 *PrintableArea: PAIR(4056, 8400)
  513.                 *PrintableOrigin: PAIR(300, 300)
  514.                 *CursorOrigin: PAIR(200, 8700)
  515.                 *Command: CmdSelect
  516.                 {
  517.                     *Order: DOC_SETUP.40
  518.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
  519.                 }
  520.             }
  521.         }
  522.     }
  523.     *Option: ENV_C6
  524.     {
  525.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  526.         *switch: Orientation
  527.         {
  528.             *case: PORTRAIT
  529.             {
  530.                 *PrintableArea: PAIR(4768, 7040)
  531.                 *PrintableOrigin: PAIR(300, 300)
  532.                 *CursorOrigin: PAIR(300, 180)
  533.                 *Command: CmdSelect
  534.                 {
  535.                     *Order: DOC_SETUP.40
  536.                     *Cmd: "<1B>&l228a8c1E<1B>*p0x0Y<1B>*c0t2879x4242Y"
  537.                 }
  538.             }
  539.             *case: LANDSCAPE_CC90
  540.             {
  541.                 *PrintableArea: PAIR(4768, 7040)
  542.                 *PrintableOrigin: PAIR(320, 316)
  543.                 *CursorOrigin: PAIR(200, 7356)
  544.                 *Command: CmdSelect
  545.                 {
  546.                     *Order: DOC_SETUP.40
  547.                     *Cmd: "<1B>&l228a8c1E<1B>*p0x0Y<1B>*c0t4242x2879Y"
  548.                 }
  549.             }
  550.         }
  551.     }
  552.     *Option: GovernmentLegal
  553.     {
  554.         *rcNameID: 393          *%%% "8x13"
  555.         *PageDimensions: PAIR(9600, 15600)
  556.         *switch: Orientation
  557.         {
  558.             *case: PORTRAIT
  559.             {
  560.                 *PrintableArea: PAIR(9000, 15000)
  561.                 *PrintableOrigin: PAIR(300, 300)
  562.                 *CursorOrigin: PAIR(300, 180)
  563.                 *Command: CmdSelect
  564.                 {
  565.                     *Order: DOC_SETUP.40
  566.                     *Cmd: "<1B>&l208a8c1E<1B>*p0x0Y<1B>*c0t5418x9018Y"
  567.                 }
  568.             }
  569.             *case: LANDSCAPE_CC90
  570.             {
  571.                 *PrintableArea: PAIR(9000, 15000)
  572.                 *PrintableOrigin: PAIR(300, 300)
  573.                 *CursorOrigin: PAIR(200, 15300)
  574.                 *Command: CmdSelect
  575.                 {
  576.                     *Order: DOC_SETUP.40
  577.                     *Cmd: "<1B>&l208a8c1E<1B>*p0x0Y<1B>*c0t9018x5418Y"
  578.                 }
  579.             }
  580.         }
  581.     }
  582.     *Option: Foolscap
  583.     {
  584.         *rcNameID: 392          *%%% "8.25x13"
  585.         *PageDimensions: PAIR(9900, 15600)
  586.         *switch: Orientation
  587.         {
  588.             *case: PORTRAIT
  589.             {
  590.                 *PrintableArea: PAIR(9300, 15000)
  591.                 *PrintableOrigin: PAIR(300, 300)
  592.                 *CursorOrigin: PAIR(300, 180)
  593.                 *Command: CmdSelect
  594.                 {
  595.                     *Order: DOC_SETUP.40
  596.                     *Cmd: "<1B>&l40a8c1E<1B>*p0x0Y<1B>*c0t5598x9018Y"
  597.                 }
  598.             }
  599.             *case: LANDSCAPE_CC90
  600.             {
  601.                 *PrintableArea: PAIR(9300, 15000)
  602.                 *PrintableOrigin: PAIR(300, 300)
  603.                 *CursorOrigin: PAIR(200, 15300)
  604.                 *Command: CmdSelect
  605.                 {
  606.                     *Order: DOC_SETUP.40
  607.                     *Cmd: "<1B>&l40a8c1E<1B>*p0x0Y<1B>*c0t9018x5598Y"
  608.                 }
  609.             }
  610.         }
  611.     }
  612.     *Option: FOLIO
  613.     {
  614.         *rcNameID: 391          *%%% "8.5x13"
  615.         *switch: Orientation
  616.         {
  617.             *case: PORTRAIT
  618.             {
  619.                 *PrintableArea: PAIR(9600, 15000)
  620.                 *PrintableOrigin: PAIR(300, 300)
  621.                 *CursorOrigin: PAIR(300, 180)
  622.                 *Command: CmdSelect
  623.                 {
  624.                     *Order: DOC_SETUP.40
  625.                     *Cmd: "<1B>&l207a8c1E<1B>*p0x0Y<1B>*c0t5760x9018Y"
  626.                 }
  627.             }
  628.             *case: LANDSCAPE_CC90
  629.             {
  630.                 *PrintableArea: PAIR(9600, 15000)
  631.                 *PrintableOrigin: PAIR(300, 300)
  632.                 *CursorOrigin: PAIR(200, 15300)
  633.                 *Command: CmdSelect
  634.                 {
  635.                     *Order: DOC_SETUP.40
  636.                     *Cmd: "<1B>&l207a8c1E<1B>*p0x0Y<1B>*c0t9018x5880Y"
  637.                 }
  638.             }
  639.         }
  640.     }
  641. }
  642.  
  643. *%======== Collate ========
  644. *Feature: Collate
  645. {
  646.     *Name: "Collated"       *%%% This string isn't used in UI.
  647.     *DefaultOption: OFF
  648.     *Option: ON
  649.     {
  650.         *rcNameID: =ON_DISPLAY
  651.         *switch: HardDisk
  652.         {
  653.             *case: NotInstalled
  654.             {
  655.                 *Command: CmdSelect
  656.                 {
  657.                     *Order: JOB_SETUP.50
  658.                     *Cmd: "@PJL SET QTY=1<0A>"
  659.                 }
  660.             }
  661.             *case: Installed
  662.             {
  663.                 *Command: CmdSelect
  664.                 {
  665.                     *Order: JOB_SETUP.50
  666.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  667.                 }
  668.             }
  669.         }
  670.     }
  671.     *Option: OFF
  672.     {
  673.         *rcNameID: =OFF_DISPLAY
  674.         *Command: CmdSelect
  675.         {
  676.             *Order: JOB_SETUP.50
  677.             *Cmd: "@PJL SET QTY=1<0A>"
  678.         }
  679.     }
  680. }
  681.  
  682. *%======== PrintQuality ========
  683. *Feature: PrintQuality
  684. {
  685.     *rcNameID: =TEXT_QUALITY_DISPLAY
  686.     *DefaultOption: SmoothingOn
  687.     *Option: SmoothingOff
  688.     {
  689.         *rcNameID: 306          *%%% "Edge Smoothing - Off"
  690.         *Command: CmdSelect
  691.         {
  692.             *Order: JOB_SETUP.20
  693.             *Cmd: "@PJL SET RET=OFF<0A>"
  694.         }
  695.     }
  696.     *Option: SmoothingOn
  697.     {
  698.         *rcNameID: 305          *%%% "Edge Smoothing - On"
  699.         *Command: CmdSelect
  700.         {
  701.             *Order: JOB_SETUP.20
  702.             *Cmd: "@PJL SET RET=ON<0A>"
  703.         }
  704.     }
  705. }
  706.  
  707. *%======== PrintDensity ========
  708. *Feature: PrintDensity
  709. {
  710.     *rcNameID: =PRINTDENSITY_DISPLAY
  711.     *DefaultOption: EconomodeOff
  712.     *Option: EconomodeOff
  713.     {
  714.         *rcNameID: 322          *%%% "Toner Saver - Off"
  715.         *Command: CmdSelect
  716.         {
  717.             *Order: JOB_SETUP.30
  718.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  719.         }
  720.     }
  721.     *Option: EconomodeOn
  722.     {
  723.         *rcNameID: 323          *%%% "Toner Saver - On"
  724.         *Command: CmdSelect
  725.         {
  726.             *Order: JOB_SETUP.30
  727.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  728.         }
  729.     }
  730. }
  731.  
  732. *%======== Halftone ========
  733. *Feature: Halftone
  734. {
  735.     *rcNameID: =HALFTONING_DISPLAY
  736.     *DefaultOption: HT_PATSIZE_AUTO
  737.     *Option: HT_PATSIZE_AUTO
  738.     {
  739.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  740.     }
  741.     *Option: HT_PATSIZE_6x6_M
  742.     {
  743.         *rcNameID: =HT_DITHER6X6_DISPLAY
  744.     }
  745.     *Option: HT_PATSIZE_8x8_M
  746.     {
  747.         *rcNameID: =HT_DITHER8X8_DISPLAY
  748.     }
  749.     *Option: HT_PATSIZE_10x10_M
  750.     {
  751.         *rcNameID: 397          *%%% "Dither 10x10"
  752.     }
  753. }
  754.  
  755. *%======== StartJob ========
  756. *Command: CmdStartJob
  757. {
  758.     *Order: JOB_SETUP.10
  759.     *Cmd: "<1B>%%-12345X@PJL JOB NAME=<22>Printed by GPD minidriver<22><0A>@PJL SET PAGEPROTECT=AUTO<0A>"
  760. }
  761.  
  762. *%======== StartDoc ========
  763. *Command: CmdStartDoc
  764. {
  765.     *Order: DOC_SETUP.10
  766.     *Cmd: "<1B>&u600D<1B>*r0F"
  767. }
  768.  
  769. *%======== StartPage ========
  770. *Command: CmdStartPage
  771. {
  772.     *Order: PAGE_SETUP.10
  773.     *Cmd: "<1B>*b0M<0D>"
  774. }
  775.  
  776. *%======== EndJob ========
  777. *Command: CmdEndJob
  778. {
  779.     *Order: JOB_FINISH.10
  780.     *Cmd: "<1B>%%-12345X@PJL EOJ NAME=<22>Printed by GPD minidriver<22><0A><1B>%%-12345X"
  781. }
  782.  
  783. *%======== Copies ========
  784. *switch: Collate
  785. {
  786.     *case: OFF
  787.     {
  788.         *Command: CmdCopies
  789.         {
  790.             *Order: DOC_SETUP.50
  791.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  792.         }
  793.     }
  794.     *case: ON
  795.     {
  796.         *Command: CmdCopies
  797.         {
  798.             *Order: DOC_SETUP.50
  799.             *Cmd: "<1B>&l1X"
  800.         }
  801.     }
  802. }
  803.  
  804. *%======== Capabilities ========
  805. *RotateCoordinate?: TRUE
  806. *RotateRaster?: TRUE
  807. *RotateFont?: TRUE
  808. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  809. *MemoryUsage: LIST(FONT)
  810.  
  811. *%======== Cursor Control ========
  812. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  813. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  814. *XMoveThreshold: 0
  815. *YMoveThreshold: 0
  816. *XMoveUnit: 600
  817. *YMoveUnit: 600
  818. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2)}"X" }
  819. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  820. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  821. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2)}"Y" }
  822. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2)}"Y" }
  823. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2)}"Y" }
  824. *Command: CmdCR { *Cmd : "<0D>" }
  825. *Command: CmdLF { *Cmd : "<0A>" }
  826. *Command: CmdFF { *Cmd : "<0C>" }
  827. *Command: CmdBackSpace { *Cmd : "<08>" }
  828. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  829. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  830. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  831. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  832. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  833. *EjectPageWithFF?: TRUE
  834.  
  835. *%======== Raster Data ========
  836. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  837. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  838. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  839. *OutputDataFormat: H_BYTE
  840. *OptimizeLeftBound?: TRUE
  841. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  842. *CursorYAfterSendBlockData: AUTO_INCREMENT
  843.  
  844. *%======== Font ========
  845. *DefaultFont: =RC_FONT_COURIERR
  846. *DeviceFonts: =ALL_DEVICEFONTS
  847. *DefaultCTT: 0
  848. *CharPosition: BASELINE
  849. *TTFSEnabled?: TRUE
  850. *IgnoreBlock
  851. {   *%%% Disabled ->
  852. *MinFontID: 16534
  853. *MaxFontID: 32768
  854. *switch: Resolution
  855. {
  856.     *case: 600dpi
  857.     {
  858.         *FontFormat: HPPCL_OUTLINE
  859.     }
  860.     *case: 300dpi
  861.     {
  862.         *FontFormat: HPPCL_RES
  863.     }
  864. }
  865. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  866. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  867. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  868. }   *%%% Disabled <-
  869. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  870. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  871. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  872. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  873.  
  874. *%======== RectFill ========
  875. *MinGrayFill: 1
  876. *MaxGrayFill: 100
  877. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2)}"A" }
  878. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2)}"B" }
  879. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  880. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  881.  
  882. *Ifdef: WINNT_51
  883. *Personality: =PERSONALITY_HPGL2
  884. *%======== HP-GL/2 Graphics Mode ========
  885. *Feature: GraphicsMode
  886. {
  887.     *rcNameID: =GRAPHICSMODE_DISPLAY
  888.     *DefaultOption: HPGL2MODE
  889.     *Option: HPGL2MODE
  890.     {
  891.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  892.     }
  893.     *Option: RASTERMODE
  894.     {
  895.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  896.     }
  897. }
  898. *Endif:
  899.